<table class="bordered" >
    <thead>
    <tr>
        <th>Stock Available Information...!</th>
    </tr>
    </thead>
</table>	
<div id="dt_example">
    <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
        <thead>
            <tr>
            	<th>Product Code</th>
                <th>Product Name</th>
                <th>Available</th>
            </tr>
        </thead>
        <tbody>
            <?php
            $sql = "SELECT * FROM tbl_stocks_available  ";
            $result = mysql_query($sql);
            while ( $row = mysql_fetch_object($result)){
            ?>
            <tr >
            	<td><?php echo $row->pd_code; ?></td>
                <td><?php echo $row->pd_name; ?></td>
                <td><?php echo $row->qty; ?></td>
    
            </tr>
            <?php 
            }
            ?>
        </tbody>
    </table>
</div>
